package com.kameiqi.erp.domain.model;
import cn.qqxkj.core.common.base.BaseModel;
import cn.qqxkj.core.annotation.agile.Page;
import cn.qqxkj.core.annotation.agile.PageField;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import java.math.BigInteger;
import java.lang.String;
import java.lang.Integer;

/**
 * 单据编号表实体类
 * @author 小六子
 * @date 2022-04-23 15:17:32
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@Table(name = "jsh_sequence")
@Entity
@Page(cover = true)
@ApiModel("单据编号表")
public class Sequence extends BaseModel{
    /** 序列名称 */
    @ApiModelProperty(value="序列名称")
    @Column(nullable=false)
    @PageField(required=true)
    private String seqName;

    /** 最小值 */
    @ApiModelProperty(value="最小值")
    @Column(nullable=false)
    @PageField(required=true)
    private Long minValue;

    /** 最大值 */
    @ApiModelProperty(value="最大值")
    @Column(nullable=false)
    @PageField(required=true)
    private Long maxValue;

    /** 当前值 */
    @ApiModelProperty(value="当前值")
    @Column(nullable=false)
    @PageField(required=true)
    private Long currentVal;

    /** 增长步数 */
    @ApiModelProperty(value="增长步数")
    @Column(nullable=false)
    @PageField(required=true)
    private Integer incrementVal;

    /** 备注 */
    @ApiModelProperty(value="备注")
    private String remark;

}
